.main {
    width: 1210px;
    margin: 0px auto;
}
.container {
    width: 990px;
    margin: 0px auto;
}

section {
    .banner {
        background-color: #fff;
        height: 97px;
        .con {
            padding: 10px 0 0;
            .cartlogo {
                float: left;
                position: relative;
                width: 277px;
                padding: 0;
                .logo {
                    display: block;
                    margin-top: 2px;
                    width: 134px;
                    height: 42px;
                    background: url(../images/cartlogo.png) no-repeat 0 0;
                    background-size: 134px 42px;
                    text-indent: -20000px;
                }
                .null {
                    display: block;
                    position: absolute;
                    width: 100px;
                    height: 40px;
                    line-height: 99em;
                    overflow: hidden;
                    top: 14px;
                    right: 38px;
                    background: #fff;
                }
            }
            .cartsearch {
                float: right;
                border: 2px solid #c91623;
                background: #c91623;
                height: 24px;
                margin-top: 30px;
                overflow: hidden;
                .formbox {
                    .in1 {
                        border: 0;
                        height: 18px;
                        line-height: 18px;
                        width: 260px;
                        padding: 3px 5px;
                        outline: none;
                    }
                    .in2 {
                        display: inline-block;
                        vertical-align: top;
                        width: 48px;
                        height: 24px;
                        background: #c91623;
                        text-align: center;
                        color: #fff;
                        font-weight: 700;
                    }
                }
            }
        }
    }
}

section {
    .cartbody {
        .cart {
            .title {
                margin-top: 10px;
                position: relative;
                z-index: 100;
                width: 100%;
                height: 40px;
                ul {
                    float: left;
                    position: relative;
                    overflow: hidden;
                    li {
                        float: left;
                        position: relative;
                        font-weight: 700;
                        font-size: 16px;
                        height: 28px;
                        line-height: 28px;
                        text-align: center;
                        padding: 0 0 10px;
                        cursor: pointer;
                        margin: 5px 30px 0 0;
                        a {
                            em {
                                color: #e2231a;
                                font-weight: 700;
                                font-size: 16px;
                                line-height: 28px;
                                text-align: center;
                            }
                            span {
                                color: #e2231a;
                                font-size: 14px;
                                margin-left: 5px;
                            }
                        }
                    }
                }
            }
            .carthead {
                color: #434343;
                display: block;
                height: 32px;
                line-height: 32px;
                margin: 0 0 10px;
                padding: 5px 0;
                background: #ddd;
                border: 1px solid #e9e9e9;
                border-top: 0;
                position: relative;
                .column {
                    float: left;
                }
                .thcheck {
                    height: 18px;
                    line-height: 18px;
                    padding-top: 7px;
                    width: 122px;
                    padding-left: 11px;
                }
                .thgoods {
                    width: 208px;
                }
                .th {
                    width: 140px;
                    height: 32px;
                    padding: 0 10px 0 20px;
                }
                .thprice {
                    width: 120px;
                    padding-right: 50px;
                    text-align: right;
                }
                .thnum {
                    width: 80px;
                    text-align: center;
                }
                .thsum {
                    width: 100px;
                    padding-right: 40px;
                    text-align: right;
                }
                .thact {
                    width: 75px;
                }
            }
            .cartbody {
                margin-bottom: 20px;
                .itemlist {
                    border: 1px solid #f1f1f1;
                    border-top: 2px solid #aaa;
                    background: #fff;
                    .item-item {
                        position: relative;
                        border-top: 1px solid #c5c5c5;
                        line-height: 20px;
                        background: #fff4e8;
                        padding: 0 0 1px 40px;
                        clear: both;
                        .item {
                            .cell {
                                float: left;
                                padding: 15px 0 10px;
                            }
                            .pcheck {
                                z-index: 3;
                                width: 30px;
                                min-height: 10px;
                                margin-left: 10px;
                                position: absolute;
                                left: 0;
                                top: 0;
                            }
                            .pname {
                                width: 300px;
                                .goods {
                                    .pimg {
                                        position: relative;
                                        float: left;
                                        width: 80px;
                                        height: 80px;
                                        border: 1px solid #eee;
                                        margin-right: 10px;
                                        background: #fff;
                                        padding: 0;
                                        text-align: center;
                                        overflow: visible;
                                        img {
                                            width: 80px;
                                            height: 80px;
                                        }
                                    }
                                    .pinfo {
                                        .p-name {
                                            height: 40px;
                                            line-height: 20px;
                                            overflow: hidden;
                                        }
                                    }
                                }
                            }
                            .pnull {
                                width: 130px;
                                min-height: 10px;
                                line-height: 20px;
                                overflow: hidden;
                                padding: 15px 0 0 20px;
                            }
                            .pprice {
                                position: relative;
                                width: 150px;
                                padding-right: 40px;
                                text-align: right;
                                outline: none;
                                .price {
                                    color: #333;
                                }
                                .pp {
                                    margin-top: 5px;
                                }
                            }
                            .pnum {
                                width: 84px;
                                .cartnum {
                                    width: 80px;
                                    border: 0;
                                    overflow: hidden;
                                    button.disable {
                                        color: #ccc;
                                        cursor: not-allowed;
                                    }
                                    button {
                                        border-width: 1px;
                                        background: #f1f1f1;
                                        width: 17px;
                                        height: 20px;
                                        line-height: 16px;
                                        vertical-align: middle;
                                        position: static;
                                        float: left;
                                        outline: 0;
                                        text-align: center;
                                        box-sizing: border-box;
                                        color: #232326;
                                        border: 1px solid #cbcbcb;
                                        padding: 0;
                                    }
                                    .sub {
                                        i::before {
                                            content: "-";
                                        }
                                    }
                                    .add {
                                        i::before {
                                            content: "+";
                                        }
                                    }
                                    .number {
                                        input {
                                            border-width: 1px 0;
                                            width: 46px;
                                            position: static;
                                            float: left;
                                            outline: 0;
                                            text-align: center;
                                            box-sizing: border-box;
                                            height: 20px;
                                            color: #232326;
                                            border: 1px solid #cbcbcb;
                                            background: #fff;
                                            line-height: 18px;
                                            vertical-align: middle;
                                            padding: 0;
                                        }
                                    }
                                    .pp {
                                        color: #aaa;
                                        text-align: center;
                                    }
                                }
                            }
                            .psum {
                                width: 100px;
                                padding-right: 40px;
                                text-align: right;
                                font-family: verdana;
                                strong {
                                    color: #333;
                                    display: block;
                                    font-weight: bold;
                                    line-height: 20px;
                                }
                            }
                            .pops {
                                width: 75px;
                                a {
                                    color: #666;
                                    display: block;
                                }
                                a:hover {
                                    color: #0083ff;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
